package com.have.blog.model.mapper;

import com.have.blog.model.models.ResourceMenu;
import com.have.blog.model.models.ResourceMenuExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ResourceMenuMapper {
    long countByExample(ResourceMenuExample example);

    int deleteByExample(ResourceMenuExample example);

    int deleteByPrimaryKey(Integer uid);

    int insert(ResourceMenu record);

    int insertSelective(ResourceMenu record);

    List<ResourceMenu> selectByExample(ResourceMenuExample example);

    ResourceMenu selectByPrimaryKey(Integer uid);

    int updateByExampleSelective(@Param("record") ResourceMenu record, @Param("example") ResourceMenuExample example);

    int updateByExample(@Param("record") ResourceMenu record, @Param("example") ResourceMenuExample example);

    int updateByPrimaryKeySelective(ResourceMenu record);

    int updateByPrimaryKey(ResourceMenu record);
}